package com.example.designer.adapter.adapter;

import com.example.designer.adapter.impl.Duck;

/**
 * 鸭子实现类
 */
public class DuckImpl implements Duck {
    @Override
    public void call() {
        System.out.println("呱呱叫");
    }

    @Override
    public void fly() {
        System.out.println("长时间飞行");
    }
}
